package com.mdd.front.validate.reference;

import com.mdd.common.validator.annotation.IDMust;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Pattern;
import java.io.Serializable;

@Data
@ApiModel("我的推荐人参数")
public class ReferenceCollectValidate implements Serializable {

    private static final long serialVersionUID = 1L;

//    @NotNull(message = "content参数缺失")
//    @NotEmpty(message = "手机号or昵称不能为空")
    @ApiModelProperty(value = "手机号or昵称", required = true)
    private String content;

//    @NotNull(message = "type参数缺失")
    @ApiModelProperty(value = "是否注册0、未注册 1注册", required = true)
    private Integer type;



}
